import api from './index'

// 获取所有分类
export const getAllCategories = () => {
  return api.get('category/all')
}

// 获取分类网格
export const getCategoryGrid = () => {
  return api.get('category/grid/all')
} 